<!-- 真人认证 -->
<template>
    <view class="head-img">
        <van-image round :width="props.imgWidth + 'rpx'" :height="props.imgWidth + 'rpx'" :src="props.headAvatar" fit="cover"/>
        <view class="ident-auth" v-if="props.RealState != 0"><img :style="{width:props.imgWidth / 3.5 + 'rpx'}" src="@/assets/image/icon10.png" /></view>
    </view>
</template>

<script setup>
const props = defineProps({
    imgWidth:{
        type:Number,
        default:144
    },
    headAvatar:{
        type:String,
        default:""
    },
    RealState:{
        type:Number,
        default:0
    }
})

</script>

<style lang="scss" scoped>
.head-img{
    position: relative;
    .ident-auth{
        position: absolute;
        bottom: 0;
        right:0;
    }
}
</style>